Operations |
static IDBKeyRange | - bound(any lower, any upper, optional boolean lowerOpen, optional boolean upperOpen)
- Creates and returns a new key range with lower set to
lower, lowerOpen set to lowerOpen,
upper set to upper and
upperOpen set to upperOpen. If either the lower parameter or upper parameter is not valid key,
or the lower key is greater than the upper key, or the lower key and upper key match and either
of the bounds are open,
the implementation MUST throw a DOMException of type DataError.
|
static IDBKeyRange | - lowerBound(any lower, optional boolean open)
- Creates and returns a new key range with lower set to
lower, lowerOpen set to open,
upper set to undefined and
and upperOpen set to true. If the value parameter is not a valid key,
the implementation MUST throw a DOMException of type DataError.
|
static IDBKeyRange | - only(any value)
- Creates and returns a new key range with both lower and
upper set to value and both
lowerOpen and upperOpen
set to false. If the value parameter is not a valid key,
the implementation MUST throw a DOMException of type DataError.
|
static IDBKeyRange | - upperBound(any upper, optional boolean open)
- Creates and returns a new key range with lower set to
undefined, lowerOpen set to true,
upper set to upper and
and upperOpen set to open. If the value parameter is not a valid key,
the implementation MUST throw a DOMException of type DataError.
|